<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div>
<input type="hidden" name="pageSum" value="${pageSum}" id="pageSum"/>
<table width="100%" border="0" height="100%" cellpadding="0" cellspacing="0" class="yhgltable_1">
   <thead>
     <tr>
       <th>编号</th>
       <th>分类名称</th>
       <th>备注</th>
	   <th>修改</th>
     </tr>
   </thead>
   <c:forEach items="${lstNewsTitle.data}" var="newsInfo" varStatus="stats">
        <c:if test="${stats.index%2==0}">
		  <tr>
	    </c:if>
		<c:if test="${stats.index%2==1}">
				<tr class="gray">
		</c:if>
           <td width="7%"><p>
               &nbsp;&nbsp;<input type="checkbox" name="group_box" value="${newsInfo.id}">
               ${newsInfo.id}</p></td>
           <td width="20%">${newsInfo.title}</td>
           <!-- cname -->
           <td width="13%"><fmt:formatDate value="${newsInfo.posttime}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/></td>
           <td width="8%"><div class="btn1"><a href="javascript:void(0)" onclick="toUpdate(${newsInfo.id})"><img src="../../../images/xg.gif" />修改</a></div></td>
        </tr>
   </c:forEach>  
</table>
</div>
<style>
	.ifTop {
		cursor:pointer;
	}
</style>